<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<%@ taglib uri="http://java.sun.com/jstl/core_rt" prefix="c"%>
<html>
<head>

<style>

</style>
<link id="RSSLink" title="RSS" type="application/rss+xml"
	rel="alternate" href="http://www.openfans.net/feed2" />
</head>
<body marginheight="0">
<div id="left">
<H2>找你想要的软件······</H2>
<DIV align=center id="search"  style="background-color:#FFF6EE;padding:20px;margin-right:130px;margin-left:130px;" class="round">
<TABLE align=center>
	<TBODY>
		<TR>
			<TD>
			<P class=pl align=center>
			<form onsubmit="searchTag();return false;">
			<INPUT type="text" id="title" style="width:120px" /> <input
				type="submit" name="search"  value="标签搜索" onclick="javascript:searchTag()"/>
				<div  id="tags"></div>
			</form>
<script type='text/javascript'>
	$(function(){
            $("div.round").corner();            
	});

    function searchTag()
    {
        var tag=$$("title").value;
        $("#tags").html("正在搜索...");
        $("#tags").load("searchTag.ajax",{tag:tag});
    }
    

</script>			
				
				
<!-- SiteSearch Google -->
<form method="get" action="http://www.google.cn/custom" target="_top">
<table border="0" bgcolor="#FFF6EE">
<tr><td nowrap="nowrap" valign="top" align="left" height="32">

</td>
<td nowrap="nowrap">
<input type="hidden" name="domains" value="www.openfans.net"></input>
<input type="text" name="q" size="12" maxlength="255" value=""></input>
<input type="submit" name="sa" value="Google 搜索"></input>
</td></tr>
<tr>
<td>&nbsp;</td>
<td nowrap="nowrap">
<table>
<tr>
<td>
<input type="radio" name="sitesearch" value=""></input>
<font size="-1" color="#000000">Web</font>
</td>
<td>
<input type="radio" name="sitesearch" value="www.openfans.net" checked="checked"></input>
<font size="-1" color="#000000">www.openfans.net</font>
</td>
</tr>
</table>
<input type="hidden" name="client" value="pub-3349070857739197"></input>
<input type="hidden" name="forid" value="1"></input>
<input type="hidden" name="ie" value="GB2312"></input>
<input type="hidden" name="oe" value="GB2312"></input>
<input type="hidden" name="cof" value="GALT:#008000;GL:1;DIV:#FFFFCC;VLC:663399;AH:center;BGC:FFFFFF;LBGC:FFFFFF;ALC:FFFFCC;LC:FFFFCC;T:000000;GFNT:0000FF;GIMP:0000FF;LH:50;LW:250;L:http://www.openfans.net/images/logo.gif;S:http://www.openfans.net;FORID:1"></input>
<input type="hidden" name="hl" value="zh-CN"></input>
</td></tr></table>
</form>
<!-- SiteSearch Google -->
			</TD>	
		</TR>
	</TBODY>
</TABLE>
</DIV>

<h2>最近推荐软件······<a href="listRootTag.html?o=4">热门软件</a></h2>
<table class=lst>
<c:forEach items="${recentRootTags}" var="tag">
<%@  include   file="/include/rootTag.jsp"%>
</c:forEach> 
<tr><td colspan=2>
<p align="right"><a href="listRootTag/1">查看更多软件...</a></p>
</td></tr>
</table>
</div>
<div id="right">
<H2>公告板······</H2>
      <DIV style="background-color:#FFF6EE;padding:10px;" class="round">
      <c:forEach items="${recentBoardItem}" var="bi">
	      ${bi.submitDate}  ${bi.poster}说：${bi.content} <br><br>
	   </c:forEach>
      </DIV>
<br>
<h2>最新新闻······<a href="feed2"><IMG src="images/xml.gif" style="border:0px;" /></a></h2>
<c:forEach items="${recentNews}" var="article">
	<span class=smallLink><a href="user/${article.recomFans.name}">${article.recomFans.nickName}</a>推荐<a href="viewArticle/${article.articleId}">${article.title}</a>：</span> <br>
	</c:forEach>   
<p align=right><a href="listArticle.html?type=News">更多新闻..</a>	

<br>
<h2>最新技术文章······</h2>
<c:forEach items="${recentTechArticles}" var="article">
	<span class=smallLink><a href="user/${article.recomFans.name}">${article.recomFans.nickName}</a>推荐<a href="viewArticle/${article.articleId}">${article.title}</a>：</span> <br>
	</c:forEach>   
<p align=right><a href="listArticle.html?type=TechArticle">更多技术文章..</a>	
 
<h2>已有标签······</h2>

<c:forEach items="${tags}" var="tag">
	<a class=tag href="viewTag/${tag.tagId}"> <font style="font-size:${100+tag.hot/5}%;line-height: 1.3;">${tag.title}</font></a>&nbsp;&nbsp;
	   </c:forEach><br><br>
<p align=right><a href="listTag/1">更多标签...</a>
   

<h2>先进粉丝······</h2>

<c:forEach items="${recentFans}" var="fans">
	<a href="user/${fans.name}" title="${fans.descn}"><img class="fansIcon" src="${fans.icon}" title="${fans.nickName}"/></a>&nbsp;&nbsp;
</c:forEach> 
<p align=right><a href="listFans/1">更多粉丝...</a>

<h2>热门小组······</h2>

<c:forEach items="${recentGroups}" var="group">
	<a href="group/${group.groupId}" title="${group.descn}">${group.name}(${group.fansCount})</a>&nbsp;&nbsp;
</c:forEach> 
<p align=right><a href="listGroup/1">更多小组...</a></p><br><br>
<a href="http://gabbly.com/www.openfans.net" target="_blank"><font color="orange" >呵呵，好玩的在线即时聊天，点击进入</font></a>
			</div>
</body>
</html>
